package cn.com.headfree.evaluation.service;

import cn.com.headfree.entity.TDeclareEvaluationInfo;
import cn.com.headfree.entity.TDeclareEvaluationInfo;
import cn.com.headfree.entity.isc.User;
import com.gta.edu.sdk.common.dto.Page;

import java.util.List;

/**
 * @Description: TODO
 * @Author wcSun
 * @Date 2022/6/28
 **/
public interface IDeclareEvaluationService {

    /**
     * 校验是否已提报
     * @param tDeclareEvaluationInfo
     * @return
     */
    List<TDeclareEvaluationInfo> judge(TDeclareEvaluationInfo tDeclareEvaluationInfo);

    void saveDeclareEvaluationInfo(TDeclareEvaluationInfo tDeclareEvaluationInfo);

    void getPageDeclareEvaluationInfo(Page<TDeclareEvaluationInfo> page, String year, User user);

    void auditAgreeInfo(String declareEvaluationId, User user);

    void auditRejectInfo(String declareEvaluationId,User user,String auditOpt);

    void getPageDeclareEvaluationInfoQuery(Page<TDeclareEvaluationInfo> page,String baseOrgId, String deptId,String userName, String erpNo, Integer year, String auditStatus);

    List<TDeclareEvaluationInfo> getDeclareEvaluationInfoQuery(String baseOrgId, String deptId,String userName, String erpNo, Integer year, String auditStatus);

    TDeclareEvaluationInfo getTDeclareEvaluationInfoById(String id);
}
